package com.c.ctgproject.entity.guang

import java.io.Serializable

class BatteryCanHandlerEntity {
    /**
     * msg :
     * data : {"total":2,"list":[{"pbId":1,"carId":2,"enterMode":1,"batterySource":1,"dismantle":null,"batteryName":"测试","batteryCode":"2111","batteryPackCode":null,"moduleCode":null,"count":1,"weight":101,"capacityAh":null,"voltage":null,"capacityKwh":null,"remark":null,"createTime":"2021-09-09 14:24:45","createPersonName":null,"stockStatus":null},{"pbId":2,"carId":23,"enterMode":2,"batterySource":null,"dismantle":null,"batteryName":null,"batteryCode":"24234643","batteryPackCode":null,"moduleCode":"Hxjxj","count":null,"weight":11111.4,"capacityAh":464646,"voltage":220,"capacityKwh":null,"remark":"Xjjxj","createTime":null,"createPersonName":null,"stockStatus":null}],"pageNum":1,"pageSize":20,"size":2,"startRow":1,"endRow":2,"pages":1,"prePage":0,"nextPage":0,"isFirstPage":true,"isLastPage":true,"hasPreviousPage":false,"hasNextPage":false,"navigatePages":8,"navigatepageNums":[1],"navigateFirstPage":1,"navigateLastPage":1}
     * success : true
     * status : 1
     */
    var msg: String? = null
    var data: DataBean? = null
    var outable: OutableBean? = null
    var isSuccess: Boolean? = null
    var status: Int? = null


    class OutableBean : Serializable {
        var packCount: Int? = null
        var moduleCount: Int? = null
        var coreCount: Int? = null
    }

    class DataBean : Serializable {
        /**
         * total : 2
         * list : [{"pbId":1,"carId":2,"enterMode":1,"batterySource":1,"dismantle":null,"batteryName":"测试","batteryCode":"2111","batteryPackCode":null,"moduleCode":null,"count":1,"weight":101,"capacityAh":null,"voltage":null,"capacityKwh":null,"remark":null,"createTime":"2021-09-09 14:24:45","createPersonName":null,"stockStatus":null},{"pbId":2,"carId":23,"enterMode":2,"batterySource":null,"dismantle":null,"batteryName":null,"batteryCode":"24234643","batteryPackCode":null,"moduleCode":"Hxjxj","count":null,"weight":11111.4,"capacityAh":464646,"voltage":220,"capacityKwh":null,"remark":"Xjjxj","createTime":null,"createPersonName":null,"stockStatus":null}]
         * pageNum : 1
         * pageSize : 20
         * size : 2
         * startRow : 1
         * endRow : 2
         * pages : 1
         * prePage : 0
         * nextPage : 0
         * isFirstPage : true
         * isLastPage : true
         * hasPreviousPage : false
         * hasNextPage : false
         * navigatePages : 8
         * navigatepageNums : [1]
         * navigateFirstPage : 1
         * navigateLastPage : 1
         */
        var total: Int? = null
        var pageNum: Int? = null
        var pageSize: Int? = null
        var size: Int? = null
        var startRow: Int? = null
        var endRow: Int? = null
        var pages: Int? = null
        var prePage: Int? = null
        var nextPage: Int? = null
        var isIsFirstPage: Boolean? = null
            private set
        var isIsLastPage: Boolean? = null
            private set
        var isHasPreviousPage: Boolean? = null
        var isHasNextPage: Boolean? = null
        var navigatePages: Int? = null
        var navigateFirstPage: Int? = null
        var navigateLastPage: Int? = null
        var list: List<ListBean>? = null
        var navigatepageNums: List<Int>? = null
        fun setIsFirstPage(isFirstPage: Boolean?) {
            isIsFirstPage = isFirstPage
        }

        fun setIsLastPage(isLastPage: Boolean?) {
            isIsLastPage = isLastPage
        }

        class ListBean : Serializable {
            /**
             * pbId : 1
             * carId : 2
             * enterMode : 1
             * batterySource : 1
             * dismantle : null
             * batteryName : 测试
             * batteryCode : 2111
             * batteryPackCode : null
             * moduleCode : null
             * count : 1
             * weight : 101.0
             * capacityAh : null
             * voltage : null
             * capacityKwh : null
             * remark : null
             * createTime : 2021-09-09 14:24:45
             * createPersonName : null
             * stockStatus : null
             */
            var pbId = 0
            var carId: Int? = null
            var enterMode: Int? = null
            var moduleCount: Int? = null
            var batteryType: Int? = null
            //之前是Int后来改为了String
            var batterySource: String? = null
            var dismantle: Int? = null
            var batteryName: String? = null
            var poundNo: String? = null
            var batterySelfCode: String? = null
            var batteryCode: String? = null
            var batteryPackCode: Any? = null
            var moduleCode: Any? = null
            var count: Int? = null
            var weight: String? = null
            var capacityAh: String? = null
            var voltage: String? = null
            var capacityKwh: String? = null
            var remark: String? = null
            var createTime: String? = null
            var createPersonName: Any? = null
            var stockStatus: Any? = null
            var moduleNum: Int? = null
            var capacityKWh: String? = null
            var carCode: String? = null
            var isSelect = false
        }
    }
}